testing.common.lastRaceErrors (field)
9 uses
testing (current package)
testing.go#L670: lastRaceErrors atomic.Int64 // Max value of race.Errors seen during the test or its subtests.
testing.go#L979: if !c.done && int64(race.Errors()) > c.lastRaceErrors.Load() {
testing.go#L1678: c.lastRaceErrors.Store(int64(race.Errors()))
testing.go#L1680: c.lastRaceErrors.Store(c.parent.checkRaces())
testing.go#L1697: last := c.lastRaceErrors.Load()
testing.go#L1702: if c.lastRaceErrors.CompareAndSwap(last, raceErrors) {
testing.go#L1719: last := parent.lastRaceErrors.Load()
testing.go#L1724: if parent.lastRaceErrors.CompareAndSwap(last, raceErrors) {
testing.go#L1820: t.lastRaceErrors.Store(int64(race.Errors()))
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)